package com.yuyou.fn.platform.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 开放接口认证
 *
 */
@TableName(value = "open_auth")
public class OpenAuth implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<OpenAuth> createExample(){
		return new Example<OpenAuth>(OpenAuth.class);
	}

	/**  */
	@TableId(value = "open_auth_id")
	private Long openAuthId;

	/** appId */
	@TableField(value = "app_id")
	private String appId;

	/** 密钥 */
	@TableField(value = "secret_key")
	private String secretKey;

	/** 备注 */
	private String remark;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getOpenAuthId() {
		return this.openAuthId;
	}

	public void setOpenAuthId(Long openAuthId) {
		this.openAuthId = openAuthId;
	}

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getSecretKey() {
		return this.secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
